package com.tw.trips.ui;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.stereotype.Service;

import com.vaadin.ui.Alignment;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Panel;

@Service
@Configurable(preConstruction = true)

public class HomePageLayout extends HorizontalLayout{
	public HomePageLayout() {
	
		setSizeFull();
		
		
		setHeight("750px");
		setWidth("1238px");
		
		Home panel = new Home();
		
		addComponent(panel);
		setComponentAlignment(panel, Alignment.MIDDLE_CENTER);
		
	}
}
